package com.itboye.eweilisten.adapter;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.itboye.eweilisten.R;
import com.itboye.eweilisten.model.SheBeiBean;

import java.util.List;

/**
 * 设备
 */
public class SheBeiAdapter extends MutiplyCommonAdapter<SheBeiBean> {

    int position;
    boolean isChat=false;

    public SheBeiAdapter(Context context, List<SheBeiBean> datas, int... layoutId) {
        super(context, datas, layoutId);
    }

    @Override
    public int getItemViewType(int position) {
        return mDatas.size();
    }

    @Override
    public void getItemPosition(int position) {
        this.position = position;
    }

    @Override
    public void convert(ViewHolder holder, SheBeiBean bean, int type, int position) {

        TextView sheibei_yichu=holder.getView(R.id.sheibei_yichu);

    }
    public  void onTextView( TextView view){
        view.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
    }

}
